<gm:page title="Create" authenticate="false">


  <gm:list id="data" data="${app}/crud"/>

  <input type="button" value="Create New" onclick="create()"/>



  <script>

    var gpathTitle = new GPath("atom:title");
    
    function create() {
      var d = google.mashups.getObjectById('data').getData();
      var e = d.createEntry();
      gpathTitle.setValue(e, prompt('Title:', ''));
      d.addEntry(e);
    };
  </script>

</gm:page>

